#!/bin/sh
case "$1" in
    clean|distclean)
        rm -rf build
        ;;
    build|all|*)
        mkdir build
        cd build && cmake .. && make
        ;;
esac
# -DCMAKE_BUILD_TYPE=Debug